package behavioral.state;

public abstract class TCPState {
	public abstract void activeOpen(TCPConnection conn);
	public abstract void passiveOpen(TCPConnection conn);
	public abstract void close(TCPConnection conn);
	public abstract void acknowledge(TCPConnection conn);
	protected void changeState(TCPConnection conn, TCPState state) {
		conn.changeState(state);
	}
}
